﻿using System;
using System.Collections.Generic;
using System.Web.UI.WebControls;

using UI.WebControls.ControlsBase;
namespace UI.WebControls
{
    /// <summary>
    /// UI层，页面控件基类，区块目标页面
    /// </summary>
    public class BlockTargetDLL : DropDownListBase
    {
        /// <summary>
        /// 重写加载事件
        /// </summary>
        /// <param name="e"></param>
        protected override void OnLoad(EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                base.Items.Add(new ListItem("=选择目标=", ""));
                base.Items.Add(new ListItem("当前页面", "_self"));
                base.Items.Add(new ListItem("新窗口", "_blank"));
            }
            base.OnLoad(e);
        }
    }
}
